AL GET SOUND BYTE

This function will return the compressed or uncompressed number of bytes played by DarkAL for the current sound. Works similar to AL GET SOUND TIME except that function returns how many seconds have been played rather than bytes.

  Syntax
Return Double Integer = AL GET SOUND BYTE( soundNumber, comSize )
  Parameters
soundNumber
Integer
The sound number.
comSize
Boolean
A value of 1 will return the play position as if the sound's buffer was still compressed (undecoded). A value of 0 returns the play position as the buffer is now.

  Returns

Returns the current play position in bytes, as a double integer value.

  See also

DarkAL Functions Menu